<?php

	//Hämtar in nödvändiga filer
	require_once ("AllTests.php");
	
	//initierar variabler.
	$title = "Tester - Labb2";
	
	//Initierar instanser.
	$at = new AllTests();
	if($at->Test()){
		$test = "Test lyckades";	
	}
	else{
		$test = "Test misslyckades";
	}

?>

<!DOCTYPE HTML>

<html>
	
<head>
	<meta charset="UTF-8" />
	<title><?php echo $title; ?></title>
	<link rel=stylesheet href="style.css" type="text/css" >
</head>
<body>
<div id="wrapper">	
<form method='post'>
	<?php
	echo $test;
	?>
</form>
</div>
</body>	
	
	
</html>